WooCommerce\PayPalCommerce\Subscription\Helper\SubscriptionHelper S

Total Complexity 33
Dependencies 4
Dependents 10
Total lines 134
Lines of code 72
Logical lines of code 37
Comment lines 43
Methods 8
Properties 0

Methods 8

Method Rating Maintainability Complexity Lines of code
cart_contains_subscription()
A
56 8 18
need_subscription_intent()
S
60 8 14
order_pay_contains_subscription()
S
62 4 11
has_subscription()
S
77 4 3
current_product_is_subscription()
S
69 3 7
is_subscription_change_payment()
S
70 3 6
accept_only_automatic_payment_gateways()
S
64 2 10
plugin_is_active()
S
80 1 3